﻿@model List<ComicBookApp.DataModels.Creator>

<div class="jumbotron">
    <h3>Creator Index <small><a href="/ComicBook/Index">+Add</a></small></h3>
</div>

<div class="row">
    <table class="table">

        @foreach (var creator in Model)
        {
            <tr onclick="location.href='/Creator/Detail/@creator.Id'">
                <td>@creator.Name</td>
                <td>@creator.Role</td>
            </tr>

        }

    </table>
</div>